﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Tequila.Phone.Location.ReverseGeocoding.DTO
{
    [DataContract]
    public class GeoLocationInfo
    {
        [DataMember(Name = "types")]
        public string[] Types
        {
            get;
            set;
        }

        [DataMember(Name = "address_components")]
        public List<GeoName> Addresses
        {
            get;
            set;
        }

        [DataMember(Name = "formatted_address")]
        public string FormattedAddress
        {
            get;
            set;
        }
    }
}
